<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head th:replace="/user/common/shopCommon/CSSandJS1 :: head('title')"></head>
<body>
<!--/*@thymesVar id="totalMoney" type="java.lang.Float"*/-->
<header th:replace="/user/common/header :: header(${cartList}, ${totalMoney})"></header>
<main >
  <div class="page-header-area">
    <div class="container">
      <div class="row">
        <div class="col-12 text-center">
          <div class="page-header-content">
            <h4 class="title mt-0">Finish Order</h4>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="col-xl-3"></div>
    <div class="col-xl-6">
      <div class="card">
        <div class="card-header pb-0">

          <h4 class="card-title row">
          <span th:class="col-xl-8">订单号：[[${tOrder.code}]]</span>
          <span th:class="col-xl-4">订单状态：[[${status}]]</span>
          </h4>
        </div>
        <div class="card-content">
          <div class="card-body">
            <div class="ez-Accordion">
              <div class="wrapper center-block">
                <div class="panel-group snj-panel" id="accordion" role="tablist" aria-multiselectable="true">
                  <div class="panel panel-default" th:each="item:${tOrder.tOrderItem}">
                    <!--                                            <div th:class="row"></div>-->
                    <div class="row panel-heading active" role="tab" id="headingOnea">
                      <h4 class="panel-title col-xl-12" >
                        <!--                                                    data-parent="#accordion" -->
                        <a role="button" data-toggle="collapse" th:href="@{'#item'+${item.iid}}" aria-expanded="true" aria-controls="collapseOnea">
                          <span style="color: white">[[${item.title}]]</span>
                        </a>
                      </h4>
                    </div>
                    <div th:id="${'item'+item.iid}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOnea">
                      <div class="row panel-body">
                        <span th:class="col-xl-8">总计：[[${item.price}]]</span>
                        <span th:class="col-xl-4">总数：X [[${item.count}]]</span>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div th:class="card-footer">
          <div th:class="row">
            <div th:class="col-xl-4"></div>
            <div th:class="col-xl-4">
              <a style="color: white" href="/user/index">
                <button style="background-color: #d75252;color: white" type="button" class="btn btn-outline-info squer-btn lg-btn">继 续 购 物</button>
              </a>
            </div>
            <div th:class="col-xl-4"></div>
          </div>
        </div>
      </div>

    </div>
    <div class="col-xl-3">

    </div>
  </div>
  <div th:replace="/user/common/shopCommon/CSSandJS1 ::js"></div>
</main>
<footer th:replace="/user/common/footer :: footer"></footer>
</body>
</html>